package cn.lele.reggie.service;

import cn.lele.reggie.common.R;
import cn.lele.reggie.dto.OrdersDto;
import cn.lele.reggie.vo.TurnoverReportVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.lele.reggie.entity.Orders;

import java.time.LocalDate;

public interface OrderService extends IService<Orders> {


    TurnoverReportVO prepareData(LocalDate begin, LocalDate end);

    R<String> submitOrder(OrdersDto orders);

    R<Page> pageOrders(Integer page, Integer pageSize);
}
